package swd.basic.conf_prg_info;

import java.util.*;

public class View {
    public View() {
        setMultiLang();
        setDBProperties();
    }

    private String gstrOnloadScript;
    public String getOnloadScript() {
        return this.gstrOnloadScript;
    }

    public void setOnloadScript(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrOnloadScript = pstrParameter;
    }

    private String gstrTipMessage;
    public String getTipMessage() {
        return this.gstrTipMessage;
    }

    public void setTipMessage(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrTipMessage = pstrParameter;
    }

    private String gstrPrgAction;
    public String getPrgAction() {
        return this.gstrPrgAction;
    }

    public void setPrgAction(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrPrgAction = pstrParameter;
    }

    private String gstrPrgStatus;
    public String getPrgStatus() {
        return this.gstrPrgStatus;
    }

    public void setPrgStatus(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrPrgStatus = pstrParameter;
    }

    private String gstrFlowAction;
    public String getFlowAction() {
        return this.gstrFlowAction;
    }

    public void setFlowAction(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrFlowAction = pstrParameter;
    }

    private String gstrFlowStatus;
    public String getFlowStatus() {
        return this.gstrFlowStatus;
    }

    public void setFlowStatus(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrFlowStatus = pstrParameter;
    }

    private String gstrFlowNO;
    public String getFlowNO() {
        return this.gstrFlowNO;
    }

    public void setFlowNO(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrFlowNO = pstrParameter;
    }

    private String gstrPrgTitle;
    public String getPrgTitle() {
        return this.gstrPrgTitle;
    }

    public void setPrgTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrPrgTitle = pstrParameter;
    }

    private String gstrseqno;
    public String getseqno() {
        return this.gstrseqno;
    }

    public void setseqno(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrseqno = pstrParameter;
    }

    private String gstrBtnAddShow;
    public String getBtnAddShow() {
        return this.gstrBtnAddShow;
    }

    public void setBtnAddShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnAddShow = pstrParameter;
    }

    private String gstrBtnSaveShow;
    public String getBtnSaveShow() {
        return this.gstrBtnSaveShow;
    }

    public void setBtnSaveShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnSaveShow = pstrParameter;
    }

    private String gstrBtnQueryShow;
    public String getBtnQueryShow() {
        return this.gstrBtnQueryShow;
    }

    public void setBtnQueryShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnQueryShow = pstrParameter;
    }

    private String gstrBtnModifyShow;
    public String getBtnModifyShow() {
        return this.gstrBtnModifyShow;
    }

    public void setBtnModifyShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnModifyShow = pstrParameter;
    }

    private String gstrBtnCancelShow;
    public String getBtnCancelShow() {
        return this.gstrBtnCancelShow;
    }

    public void setBtnCancelShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnCancelShow = pstrParameter;
    }

    private String gstrBtnUpdateShow;
    public String getBtnUpdateShow() {
        return this.gstrBtnUpdateShow;
    }

    public void setBtnUpdateShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnUpdateShow = pstrParameter;
    }

    private String gstrBtnApproveShow;
    public String getBtnApproveShow() {
        return this.gstrBtnApproveShow;
    }

    public void setBtnApproveShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnApproveShow = pstrParameter;
    }

    private String gstrBtnRejectShow;
    public String getBtnRejectShow() {
        return this.gstrBtnRejectShow;
    }

    public void setBtnRejectShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnRejectShow = pstrParameter;
    }

    private String gstrBtnDraftShow;
    public String getBtnDraftShow() {
        return this.gstrBtnDraftShow;
    }

    public void setBtnDraftShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnDraftShow = pstrParameter;
    }

    private String gstrBtnExitShow;
    public String getBtnExitShow() {
        return this.gstrBtnExitShow;
    }

    public void setBtnExitShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnExitShow = pstrParameter;
    }

    private String gstrBtnAddTitle;
    public String getBtnAddTitle() {
        return this.gstrBtnAddTitle;
    }

    public void setBtnAddTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnAddTitle = pstrParameter;
    }

    private String gstrBtnSaveTitle;
    public String getBtnSaveTitle() {
        return this.gstrBtnSaveTitle;
    }

    public void setBtnSaveTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnSaveTitle = pstrParameter;
    }

    private String gstrBtnQueryTitle;
    public String getBtnQueryTitle() {
        return this.gstrBtnQueryTitle;
    }

    public void setBtnQueryTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnQueryTitle = pstrParameter;
    }

    private String gstrBtnModifyTitle;
    public String getBtnModifyTitle() {
        return this.gstrBtnModifyTitle;
    }

    public void setBtnModifyTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnModifyTitle = pstrParameter;
    }

    private String gstrBtnCancelTitle;
    public String getBtnCancelTitle() {
        return this.gstrBtnCancelTitle;
    }

    public void setBtnCancelTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnCancelTitle = pstrParameter;
    }

    private String gstrBtnUpdateTitle;
    public String getBtnUpdateTitle() {
        return this.gstrBtnUpdateTitle;
    }

    public void setBtnUpdateTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnUpdateTitle = pstrParameter;
    }

    private String gstrBtnApproveTitle;
    public String getBtnApproveTitle() {
        return this.gstrBtnApproveTitle;
    }

    public void setBtnApproveTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnApproveTitle = pstrParameter;
    }

    private String gstrBtnRejectTitle;
    public String getBtnRejectTitle() {
        return this.gstrBtnRejectTitle;
    }

    public void setBtnRejectTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnRejectTitle = pstrParameter;
    }

    private String gstrBtnDraftTitle;
    public String getBtnDraftTitle() {
        return this.gstrBtnDraftTitle;
    }

    public void setBtnDraftTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnDraftTitle = pstrParameter;
    }

    private String gstrBtnExitTitle;
    public String getBtnExitTitle() {
        return this.gstrBtnExitTitle;
    }

    public void setBtnExitTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnExitTitle = pstrParameter;
    }

    private String gstrBtnUploadTitle;
    public String getBtnUploadTitle() {
        return this.gstrBtnUploadTitle;
    }

    public void setBtnUploadTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnUploadTitle = pstrParameter;
    }

    private String gstrDBAlias;
    public String getDBAlias() {
        return this.gstrDBAlias;
    }

    public void setDBAlias(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrDBAlias = pstrParameter;
    }

    private boolean gblnDBDebug;
    public boolean getDBDebug() {
        return this.gblnDBDebug;
    }

    public void setDBDebug(boolean pblnParameter) {
        this.gblnDBDebug = pblnParameter;
    }

    private String gstrSourceCharset;
    public String getSourceCharset() {
        return this.gstrSourceCharset;
    }

    public void setSourceCharset(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrSourceCharset = pstrParameter;
    }

    private String gstrTargetCharset;
    public String getTargetCharset() {
        return this.gstrTargetCharset;
    }

    public void setTargetCharset(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrTargetCharset = pstrParameter;
    }

    private String gstrFrm1Name;
    public String getFrm1Name() {
        return this.gstrFrm1Name;
    }

    public void setFrm1Name(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrFrm1Name = pstrParameter;
    }

    private String gstrbtn_pos;
    public String getbtn_pos() {
        return this.gstrbtn_pos;
    }

    public void setbtn_pos(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrbtn_pos = pstrParameter;
    }

    private String gstrbtn_posTitle;
    public String getbtn_posTitle() {
        return this.gstrbtn_posTitle;
    }

    public void setbtn_posTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrbtn_posTitle = pstrParameter;
    }

    private boolean gblnbtn_pos_readonly;
    public boolean getbtn_pos_readonly() {
        return this.gblnbtn_pos_readonly;
    }

    public void setbtn_pos_readonly(boolean pblnParameter) {
        try {
            this.gblnbtn_pos_readonly = pblnParameter;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private String gstrdbf_no;
    public String getdbf_no() {
        return this.gstrdbf_no;
    }

    public void setdbf_no(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrdbf_no = pstrParameter;
    }

    private String gstrdbf_noTitle;
    public String getdbf_noTitle() {
        return this.gstrdbf_noTitle;
    }

    public void setdbf_noTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrdbf_noTitle = pstrParameter;
    }

    private boolean gblndbf_no_readonly;
    public boolean getdbf_no_readonly() {
        return this.gblndbf_no_readonly;
    }

    public void setdbf_no_readonly(boolean pblnParameter) {
        try {
            this.gblndbf_no_readonly = pblnParameter;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private String gstrflow_code;
    public String getflow_code() {
        return this.gstrflow_code;
    }

    public void setflow_code(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrflow_code = pstrParameter;
    }

    private String gstrflow_codeTitle;
    public String getflow_codeTitle() {
        return this.gstrflow_codeTitle;
    }

    public void setflow_codeTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrflow_codeTitle = pstrParameter;
    }

    private boolean gblnflow_code_readonly;
    public boolean getflow_code_readonly() {
        return this.gblnflow_code_readonly;
    }

    public void setflow_code_readonly(boolean pblnParameter) {
        try {
            this.gblnflow_code_readonly = pblnParameter;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private String gstrflow_copy;
    public String getflow_copy() {
        return this.gstrflow_copy;
    }

    public void setflow_copy(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrflow_copy = pstrParameter;
    }

    private String gstrflow_copyTitle;
    public String getflow_copyTitle() {
        return this.gstrflow_copyTitle;
    }

    public void setflow_copyTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrflow_copyTitle = pstrParameter;
    }

    private boolean gblnflow_copy_readonly;
    public boolean getflow_copy_readonly() {
        return this.gblnflow_copy_readonly;
    }

    public void setflow_copy_readonly(boolean pblnParameter) {
        try {
            this.gblnflow_copy_readonly = pblnParameter;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private String gstrflow_yn;
    public String getflow_yn() {
        return this.gstrflow_yn;
    }

    public void setflow_yn(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrflow_yn = pstrParameter;
    }

    private String gstrflow_ynTitle;
    public String getflow_ynTitle() {
        return this.gstrflow_ynTitle;
    }

    public void setflow_ynTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrflow_ynTitle = pstrParameter;
    }

    private boolean gblnflow_yn_readonly;
    public boolean getflow_yn_readonly() {
        return this.gblnflow_yn_readonly;
    }

    public void setflow_yn_readonly(boolean pblnParameter) {
        try {
            this.gblnflow_yn_readonly = pblnParameter;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private String gstrjoin_group;
    public String getjoin_group() {
        return this.gstrjoin_group;
    }

    public void setjoin_group(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrjoin_group = pstrParameter;
    }

    private String gstrjoin_groupTitle;
    public String getjoin_groupTitle() {
        return this.gstrjoin_groupTitle;
    }

    public void setjoin_groupTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrjoin_groupTitle = pstrParameter;
    }

    private boolean gblnjoin_group_readonly;
    public boolean getjoin_group_readonly() {
        return this.gblnjoin_group_readonly;
    }

    public void setjoin_group_readonly(boolean pblnParameter) {
        try {
            this.gblnjoin_group_readonly = pblnParameter;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private String gstrjoin_sys;
    public String getjoin_sys() {
        return this.gstrjoin_sys;
    }

    public void setjoin_sys(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrjoin_sys = pstrParameter;
    }

    private String gstrjoin_sysTitle;
    public String getjoin_sysTitle() {
        return this.gstrjoin_sysTitle;
    }

    public void setjoin_sysTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrjoin_sysTitle = pstrParameter;
    }

    private boolean gblnjoin_sys_readonly;
    public boolean getjoin_sys_readonly() {
        return this.gblnjoin_sys_readonly;
    }

    public void setjoin_sys_readonly(boolean pblnParameter) {
        try {
            this.gblnjoin_sys_readonly = pblnParameter;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private String gstrprg_kind;
    public String getprg_kind() {
        return this.gstrprg_kind;
    }

    public void setprg_kind(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_kind = pstrParameter;
    }

    private String gstrprg_kindTitle;
    public String getprg_kindTitle() {
        return this.gstrprg_kindTitle;
    }

    public void setprg_kindTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_kindTitle = pstrParameter;
    }

    private boolean gblnprg_kind_readonly;
    public boolean getprg_kind_readonly() {
        return this.gblnprg_kind_readonly;
    }

    public void setprg_kind_readonly(boolean pblnParameter) {
        try {
            this.gblnprg_kind_readonly = pblnParameter;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private String gstrprg_name;
    public String getprg_name() {
        return this.gstrprg_name;
    }

    public void setprg_name(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_name = pstrParameter;
    }

    private String gstrprg_nameTitle;
    public String getprg_nameTitle() {
        return this.gstrprg_nameTitle;
    }

    public void setprg_nameTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_nameTitle = pstrParameter;
    }

    private boolean gblnprg_name_readonly;
    public boolean getprg_name_readonly() {
        return this.gblnprg_name_readonly;
    }

    public void setprg_name_readonly(boolean pblnParameter) {
        try {
            this.gblnprg_name_readonly = pblnParameter;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private String gstrprg_name_e;
    public String getprg_name_e() {
        return this.gstrprg_name_e;
    }

    public void setprg_name_e(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_name_e = pstrParameter;
    }

    private String gstrprg_name_eTitle;
    public String getprg_name_eTitle() {
        return this.gstrprg_name_eTitle;
    }

    public void setprg_name_eTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_name_eTitle = pstrParameter;
    }

    private boolean gblnprg_name_e_readonly;
    public boolean getprg_name_e_readonly() {
        return this.gblnprg_name_e_readonly;
    }

    public void setprg_name_e_readonly(boolean pblnParameter) {
        try {
            this.gblnprg_name_e_readonly = pblnParameter;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private String gstrprg_no;
    public String getprg_no() {
        return this.gstrprg_no;
    }

    public void setprg_no(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_no = pstrParameter;
    }

    private String gstrprg_noTitle;
    public String getprg_noTitle() {
        return this.gstrprg_noTitle;
    }

    public void setprg_noTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_noTitle = pstrParameter;
    }

    private boolean gblnprg_no_readonly;
    public boolean getprg_no_readonly() {
        return this.gblnprg_no_readonly;
    }

    public void setprg_no_readonly(boolean pblnParameter) {
        try {
            this.gblnprg_no_readonly = pblnParameter;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

// Rory Chen Add ---------------------------------------------------------------
    // prg_kind0
    private String gstrprg_kind0;
    public String getprg_kind0() {
        return this.gstrprg_kind0;
    }

    public void setprg_kind0(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_kind0 = pstrParameter;
    }

    // prg_kind1
    private String gstrprg_kind1;
    public String getprg_kind1() {
        return this.gstrprg_kind1;
    }

    public void setprg_kind1(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_kind1 = pstrParameter;
    }

    // prg_kind2
    private String gstrprg_kind2;
    public String getprg_kind2() {
        return this.gstrprg_kind2;
    }

    public void setprg_kind2(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_kind2 = pstrParameter;
    }

    // prg_kind3
    private String gstrprg_kind3;
    public String getprg_kind3() {
        return this.gstrprg_kind3;
    }

    public void setprg_kind3(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_kind3 = pstrParameter;
    }

    // prg_no
    private String[] gstrprg_no_g;
    public String[] getprg_no_g() {
        return this.gstrprg_no_g;
    }

    public void setprg_no_g(String[] pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_no_g = pstrParameter;
    }

    // flow_code
    private String[] gstrflow_code_g;
    public String[] getflow_code_g() {
        return this.gstrflow_code_g;
    }

    public void setflow_code_g(String[] pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrflow_code_g = pstrParameter;
    }

    // flow_yn
    private String[] gstrflow_yn_g;
    public String[] getflow_yn_g() {
        return this.gstrflow_yn_g;
    }

    public void setflow_yn_g(String[] pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrflow_yn_g = pstrParameter;
    }

    // prg_kind
    private String[] gstrprg_kind_g;
    public String[] getprg_kind_g() {
        return this.gstrprg_kind_g;
    }

    public void setprg_kind_g(String[] pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_kind_g = pstrParameter;
    }

    // join_group
    private String[] gstrjoin_group_g;
    public String[] getjoin_group_g() {
        return this.gstrjoin_group_g;
    }

    public void setjoin_group_g(String[] pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrjoin_group_g = pstrParameter;
    }

    // join_sys
    private String[] gstrjoin_sys_g;
    public String[] getjoin_sys_g() {
        return this.gstrjoin_sys_g;
    }

    public void setjoin_sys_g(String[] pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrjoin_sys_g = pstrParameter;
    }

    // prg_name
    private String[] gstrprg_name_g;
    public String[] getprg_name_g() {
        return this.gstrprg_name_g;
    }

    public void setprg_name_g(String[] pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_name_g = pstrParameter;
    }

    // dbf_no
    private String[] gstrdbf_no_g;
    public String[] getdbf_no_g() {
        return this.gstrdbf_no_g;
    }

    public void setdbf_no_g(String[] pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrdbf_no_g = pstrParameter;
    }

    // prg_name_e
    private String[] gstrprg_name_e_g;
    public String[] getprg_name_e_g() {
        return this.gstrprg_name_e_g;
    }

    public void setprg_name_e_g(String[] pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrprg_name_e_g = pstrParameter;
    }

    // rowsn
    private String gstrrowsn = null;
    public String getrowsn() {
        return this.gstrrowsn;
    }

    public void setrowsn(String pstrParameter) {
        this.gstrrowsn = pstrParameter;
    }

    // Show form
    private String gstrSelectShow;
    public String getSelectShow() {
        return this.gstrSelectShow;
    }

    public void setSelectShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrSelectShow = pstrParameter;
    }

    // Insert form
    private String gstrInsertShow;
    public String getInsertShow() {
        return this.gstrInsertShow;
    }

    public void setInsertShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrInsertShow = pstrParameter;
    }


    // Save All
    private String gstrBtnSaveAllShow;
    public String getBtnSaveAllShow() {
        return this.gstrBtnSaveAllShow;
    }

    public void setBtnSaveAllShow(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnSaveAllShow = pstrParameter;
    }

    private String gstrBtnSaveAllTitle;
    public String getBtnSaveAllTitle() {
        return this.gstrBtnSaveAllTitle;
    }

    public void setBtnSaveAllTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrBtnSaveAllTitle = pstrParameter;
    }


    public void setReadOnly(boolean pstrParameter) {
        this.setprg_no_readonly(pstrParameter);
        this.setflow_code_readonly(pstrParameter);
        this.setprg_kind_readonly(pstrParameter);
        this.setjoin_group_readonly(pstrParameter);
        this.setjoin_sys_readonly(pstrParameter);
        this.setdbf_no_readonly(pstrParameter);
        this.setprg_name_readonly(pstrParameter);
        this.setprg_name_e_readonly(pstrParameter);
    }

    public void setAllClear() {
        this.setprg_no("");
        this.setflow_code("");
        this.setprg_kind("");
        this.setjoin_group("");
        this.setjoin_sys("");
        this.setdbf_no("");
        this.setprg_name("");
        this.setprg_name_e("");
        this.setprg_kind0("");
        this.setprg_kind1("");
        this.setprg_kind2("");
        this.setprg_kind3("");

    }

    public void setButtonVisible(String strKind) {
        // strKind 種類
        // 此為預設按鍵，如要新增或修改，請自行修改

        // 初始化
        this.setBtnSaveShow("none");
        this.setBtnModifyShow("none");

        // 新增
        if (strKind.equals("1")) {
            this.setBtnAddShow("none");
            this.setBtnSaveShow("");
            this.setBtnQueryShow("none");
        }

        // Save
        if (strKind.equals("2")) {
            this.setBtnAddShow("");
            this.setBtnSaveShow("none");
            this.setBtnQueryShow("none");
        }

        // 查詢
        if (strKind.equals("3")) {
            this.setBtnSaveShow("none");
            this.setBtnQueryShow("none");
        }
    }

// -----------------------------------------------------------------------------


    private void setMultiLang() {
        ResourceBundle rbdTitleResource = ResourceBundle.getBundle(
                "swd\\basic\\conf_prg_info\\Multi-lang", Locale.getDefault());

        try {
            setdbf_noTitle(rbdTitleResource.getString("dbf_noTitle"));
            setflow_codeTitle(rbdTitleResource.getString("flow_codeTitle"));
            setjoin_groupTitle(rbdTitleResource.getString("join_groupTitle"));
            setjoin_sysTitle(rbdTitleResource.getString("join_sysTitle"));
            setprg_kindTitle(rbdTitleResource.getString("prg_kindTitle"));
            setprg_nameTitle(rbdTitleResource.getString("prg_nameTitle"));
            setprg_name_eTitle(rbdTitleResource.getString("prg_name_eTitle"));
            setprg_noTitle(rbdTitleResource.getString("prg_noTitle"));
            setFrm1Name(rbdTitleResource.getString("Frm1Name"));
            setBtnAddTitle(rbdTitleResource.getString("BtnAddTitle"));
            setBtnSaveTitle(rbdTitleResource.getString("BtnSaveTitle"));
            setBtnQueryTitle(rbdTitleResource.getString("BtnQueryTitle"));
            setBtnModifyTitle(rbdTitleResource.getString("BtnModifyTitle"));
            setBtnCancelTitle(rbdTitleResource.getString("BtnCancelTitle"));
            setBtnUpdateTitle(rbdTitleResource.getString("BtnUpdateTitle"));
            setBtnApproveTitle(rbdTitleResource.getString("BtnApproveTitle"));
            setBtnRejectTitle(rbdTitleResource.getString("BtnRejectTitle"));
            setBtnDraftTitle(rbdTitleResource.getString("BtnDraftTitle"));
            setBtnExitTitle(rbdTitleResource.getString("BtnExitTitle"));
            setBtnUploadTitle(rbdTitleResource.getString("BtnUploadTitle"));
            setPrgTitle(rbdTitleResource.getString("prgTitle"));
            setflow_ynTitle(rbdTitleResource.getString("flow_ynTitle"));
            setBtnSaveAllTitle(rbdTitleResource.getString("BtnSaveAllTitle"));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private void setDBProperties() {
        ResourceBundle rbdTitleResource = ResourceBundle.getBundle("WEB_Config",
                Locale.getDefault());

        try {
            setDBAlias(rbdTitleResource.getString("DB_ALIAS"));
            setDBDebug(Boolean.valueOf(rbdTitleResource.getString("DEBUG")).
                       booleanValue());
            setSourceCharset(rbdTitleResource.getString("SOURCE_CHARSET"));
            setTargetCharset(rbdTitleResource.getString("TARGET_CHARSET"));
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            rbdTitleResource = null;
        }
    }

    public String getMessage(String pstrKey) {
        return ResourceBundle.getBundle("swd\\basic\\conf_prg_info\\Multi-lang",
                                        Locale.getDefault()).getString(pstrKey);
    }
}
